package com.pqc.tbk.service.money;

import com.pqc.tbk.entity.money.MoneyInout;
import com.pqc.tbk.utils.Pager;

/**
 * 
 * @author long, create on 2012-8-8 下午1:50:24
 * 
 */
public interface MoneyInoutService {

	/**
	 * 获取用户提现的分页
	 * 
	 * @param pager
	 * @param type
	 *            promote:推广收入/in:订单收入/out:支出
	 * @param uid
	 * @return
	 */
	public Pager<MoneyInout> getPages(Pager<MoneyInout> pager, String type,
			long uid);

	/**
	 * 根据用户提现的总的记录数
	 * 
	 * @param uid
	 * @param type
	 *            promote:推广收入/in:订单收入/out:支出
	 * @return
	 */
	public Long getCountByUid(String type, long uid);

}
